package com.czkt.spring_boot_thymeleaf.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

public class IndexController {

    @RequestMapping("/login")
    public String index(){
        return "login";
    }

    @RequestMapping("/dologin")
    public String login(){


        return "main";
    }
}
